package com.juntu.loginlib.contact;

import com.juntu.loginlib.ex.LoginException;

/**
 * Created by cj on 2021/2/18.
 * Email:codesexy@163.com
 * Function:
 * desc:
 */
public interface LoginResultContact {

    /**
     * 登录成功
     *
     * @param loginInfo
     */
    void onSuccess(String loginInfo);

    /**
     * 登录失败
     */
    void onError(LoginException ex);
}
